package server;



import java.io.InputStream;
import java.io.OutputStream;
import java.net.InetAddress;

/**
 * Wrapper for sockets.
 */
public interface GenericSocket {

	public InputStream getInputStream();
	
	public OutputStream getOutputStream();
	
	public void close ();

	public int getLocalPort();

	public InetAddress getIPAddress();

	public int getPort();

	public InetAddress getLocalIPAddress();
	
}
